package dao;

import java.util.ArrayList;
import java.util.List;
import vo.User;

public interface UserDao {

	public void saveUser(User user);
	
	public void removeUser(User user);

	public ArrayList<User> findUserByArgus(String hql,Object[] params);
	
	public User findUserByName(String name);
	
	public List<User> findAllUserser();

	public void updateUser(User user);
	
	public List<Object> search(String hql,Object[] params, int start, int length);
	
	public Long count(String name);
}
